package com.sky.loveshop.mapper;

import com.sky.loveshop.entity.UserShopRelation;
import com.sky.loveshop.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserShopRelationMapper extends MyMapper<UserShopRelation> {

    List<UserShopRelation> getShopsByUserId(@Param("userId") Integer userId);

    Integer insertOne(UserShopRelation userShopRelation);

    Integer delByUserId(@Param("userId") Integer userId);

}